package com.wizz.trade.template.core;

import com.wizz.trade.template.generator.PurchaseContractHandler;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class TemplateInfoConfig {
    protected static Map<Integer, ITemplateHandler> templateMap = new ConcurrentHashMap<>();


    @Resource
    private PurchaseContractHandler purchaseContractTemplate;


    @PostConstruct
    public void init() {
        templateMap.put(1, purchaseContractTemplate);
    }


}
